package com.ruoyi.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 调料对象 food_condiment
 *
 * @author xian_pei
 * @date 2024-06-10
 */
public class FoodCondiment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 调料id */
    private Long condimentId;

    /** 调料名称 */
    @Excel(name = "调料名称")
    private String condimentName;

    /** 调料单位 */
    @Excel(name = "调料单位")
    private String perUnit;

    /** 状态码（1为存在，0为被删除） */
    @Excel(name = "状态码", readConverterExp = "1=为存在，0为被删除")
    private Long status;

    public void setCondimentId(Long condimentId)
    {
        this.condimentId = condimentId;
    }

    public Long getCondimentId()
    {
        return condimentId;
    }
    public void setCondimentName(String condimentName)
    {
        this.condimentName = condimentName;
    }

    public String getCondimentName()
    {
        return condimentName;
    }
    public void setPerUnit(String perUnit)
    {
        this.perUnit = perUnit;
    }

    public String getPerUnit()
    {
        return perUnit;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("condimentId", getCondimentId())
                .append("condimentName", getCondimentName())
                .append("perUnit", getPerUnit())
                .append("status", getStatus())
                .toString();
    }
}
